package main

import "fmt"

func main() {
	str := []string{"I", "am", "stupid", "and", "weak"}

	for k, v := range str {
		switch v {
		case "stupid":
			str[k] = "smart"
		case "weak":
			str[k] = "strong"
		default:
		}
	}

	fmt.Println(str)
}
